<%@page import="com.shop.domain.Category"%>
<%@page import="com.shop.domain.User"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>猴子校园二手街</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" href="<%=basePath%>css/style.css" type="text/css">
  <body>
  	 <div id="top">
    	<ul class="inTop clearfix">
        <li class="fl shoucang"><a href="#">收藏本站</a></li>
        <li class="fl" id="guanzhu">
            <a class="wxFocus" href="#">关注我</a>
            <div class="weiCode" style="display: none;">
                <span></span>
            </div>
        </li>
        
        <li class="fr"><a href="http://www.taoertao.com/about.php?part=faq" target="_blank">客户服务</a></li>
        <li class="fr"><a href="">消息中心</a></li>
        <li class="fr"><a href="">购物车</a></li>
        <li class="fr"><a href="jsp/certify.jsp">实名认证</a></li>
        <%
        	String username = ((User)session.getAttribute("currentUser")).getUsername();
        	if(username == null || username.length() == 0 || username.equals("")){	
         %>
         	<li>
         		 <a href="jsp/regist.jsp">注册</a>
         		 <a href="jsp/login.jsp"><strong>登录</strong></a>
         	</li>
        <%
      		} else{
       	%> 
       	
	        <li class="fr">您好，<%=username%>&nbsp;
	        	<a href="">已买到的宝贝</a>
	        	<a href="">已出售的商品</a>
	        	<a href="">出售中的商品</a>
	        	<a href="">收藏夹</a>
	        </li> 
	    <%
       		}
        %>    
	        
    </ul>
	</div>
	
	<div id="header">
	<div class="inHeader clearfix">
        <div class="midHeader clearfix">
        	<div class="logo fl">
            	<a href="user/index.do"><img src="images/logo.gif" title="猴子商城"></a>
            </div>
            <div class="searchArea fl">
            	<form method="get" action="goods/search.do" target="_blank">
                	<input type="text" name="keyword" class="keyword fl" placeholder="搜索你想要的宝贝">
                    <input type="submit" class="seaBtn fr" value="搜索">
                </form>
                <ul class="clearfix">
                	<li>热门搜索：</li>
                    <li><a href="#">自行车</a></li>
                    <li><a href="#">笔记本</a></li>
                    <li><a href="#">考研资料</a></li>
                    <li><a href="#">手机</a></li>
					<div style="display: inline-block; width: 380px; height: 22px; overflow: hidden; margin-top: 1px;">
					</div>
                </ul>
            </div>
	    	<div class="maimai fr">
            	<a href="goods/toAddGoods.do">我要卖</a>
            </div>
	   </div>
	</div>
	</div>
	
	<div id="nav">
	<div class="inNav clearfix">
    	<span class="fl">全部商品分类</span>
        <ul class="fl">
        	<li><a href="http://www.taoertao.com">首页</a></li>
   			<li><a href="http://www.taoertao.com/category.php?catid=154">求购专区</a></li>
			<li><a href="http://www.taoertao.com/category.php?catid=157">最新上架</a></li>
			<li><a href="http://www.taoertao.com/category.php?catid=158">站内公告</a></li>
		</ul>
    </div>
	</div>
	
	<div id="main">
	<div class="mainTop clearfix">
    	<div id="classification" class="fl">
				<ul>
					<c:forEach items="${categoriesMap }" var="cat">
						<li class="">
						<p>
						
							<a href="goods/search.do?category=${cat.key.getId() }"
								target="_blank">${cat.key.getName() }</a>
						</p>
						<div class="menu" style="display: none;">
							<dl>		
								<c:forEach items="${cat.value }" var="smallCat">
										<dd>
											<a class="goodLink"
												href="goods/search.do?category=${smallCat.getId() }"
												target="_blank" title="${smallCat.getName() }">${smallCat.getName() }</a>
										</dd>
								</c:forEach>
									
							</dl>
						</div></li>		
					</c:forEach>					
				</ul>
			</div>
        <div class="indexMid fl">
            <div class="focusMap fl">
                <span class="prev" style="display: none;"><i class="iconfont"></i></span>
                <span class="next" style="display: none;"><i class="iconfont"></i></span>
                <ul class="rImg">
                    					<li style="display: none;"><a href="http://www.taoertao.com" target="_blank"><img src="/attachment/focus/1426832637hqebp.jpg" alt="新版taoertao.com"></a></li>
										<li style="display: list-item;"><a href="http://www.taoertao.com" target="_blank"><img src="/attachment/focus/1441983523jfvnz.png" alt="手机版淘二淘taoertao.com"></a></li>
					                </ul>
                <ul class="button">
                    <li class=""></li>
                    <li class="on"></li>
                    <li></li>
                </ul>
            </div>
            <div class="recommend clearfix">
            	<ul>
                    					<li><a title="缺钱中，全新aj1 伯爵挥泪甩卖" target="_blank" href="http://www.taoertao.com/information-id-2487.html">缺钱中，全新aj1 伯爵挥泪甩卖</a></li>
										<li><a title="listen to this:英语中级听力" target="_blank" href="http://www.taoertao.com/information-id-2486.html">listen to this:英语中级听力</a></li>
										<li><a title="英语泛读教程4 第三版" target="_blank" href="http://www.taoertao.com/information-id-2485.html">英语泛读教程4 第三版</a></li>
										<li><a title="大学英文写作一二三四册" target="_blank" href="http://www.taoertao.com/information-id-2484.html">大学英文写作一二三四册</a></li>
										<li><a title="iphone6s 4.7 土豪金16g" target="_blank" href="http://www.taoertao.com/information-id-2481.html">iphone6s 4.7 土豪金16g</a></li>
										<li><a title="全新土豪金64G版苹果6s未使用低价转给有缘人" target="_blank" href="http://www.taoertao.com/information-id-2478.html">全新土豪金64G版苹果6s未使用低价转给有缘人</a></li>
										<li><a title="2015秋冬装新款毛呢外套女韩版修身显瘦中长款加厚超长呢子大" target="_blank" href="http://www.taoertao.com/information-id-2474.html">2015秋冬装新款毛呢外套女韩版修身显瘦中长款加厚超长呢子大</a></li>
										<li><a title="欧美秋季银灰色浅口真皮女鞋方头粗跟漆皮红绿色高跟单鞋英伦百搭" target="_blank" href="http://www.taoertao.com/information-id-2473.html">欧美秋季银灰色浅口真皮女鞋方头粗跟漆皮红绿色高跟单鞋英伦百搭</a></li>
					                </ul>
            </div>
        </div>
        <div class="siteActivity fr">
        	<div class="siteNews">
            	<ul>
                	<li class="newsTit">淘二淘快报<span><a href="#">更多&gt;</a></span></li>
                    					<li><a title="淘二淘即将上线手机版" href="http://www.taoertao.com/news-id-7.html" target="_blank">淘二淘即将上线手机版</a></li>
										<li><a title="淘二淘-同学淘宝店活动招募" href="http://www.taoertao.com/news-id-6.html" target="_blank">淘二淘-同学淘宝店活动招募</a></li>
										<li><a title="开学啦~学弟学妹就要来啦~" href="http://www.taoertao.com/news-id-5.html" target="_blank">开学啦~学弟学妹就要来啦~</a></li>
										<li><a title="芜湖市大学生创业孵化基地" href="http://www.taoertao.com/news-id-4.html" target="_blank">芜湖市大学生创业孵化基地</a></li>
										<li><a title="芜湖救市：放开大学生购房限制 停建安置房" href="http://www.taoertao.com/news-id-3.html" target="_blank">芜湖救市：放开大学生购房限制 停建安置房</a></li>
					                </ul>
            </div>
            <div class="convenience clearfix">
            	<span>生活服务</span>
                <table>
                	<tbody><tr>
                    	<td><a href="#"><i class="iconfont"></i><br>天气</a></td>
                        <td><a href="#"><i class="iconfont"></i><br>快递</a></td>
                        <td><a href="#"><i class="iconfont"></i><br>游戏</a></td>
                    </tr>
                </tbody></table>
            </div>
        </div>
    </div>
    <div class="mainMid">
    	<div class="ershou clearfix">
        	<div class="classTit"><span class="fl"><i class="iconfont"></i> 二手物品</span><span class="fr"><a href="http://www.taoertao.com/category-catid-154.html" target="_blank">更多&gt;</a></span></div>
            <div class="imgShow fl">
            	<ul class="clearfix">
                    					<li><a href="http://www.taoertao.com/information-id-2490.html" title="全新皮衣低价出售,45元" target="_blank"><img src="http://www.taoertao.com/attachment/information/201601/pre_1452150375rhqwo.jpg"></a></li>
										<li><a href="http://www.taoertao.com/information-id-2487.html" title="缺钱中，全新aj1 伯爵挥泪甩卖" target="_blank"><img src="http://www.taoertao.com/attachment/information/201601/pre_1452137926iglhk.jpg"></a></li>
										<li><a href="http://www.taoertao.com/information-id-2481.html" title="iphone6s 4.7 土豪金16g" target="_blank"><img src="http://www.taoertao.com/attachment/information/201601/pre_1452069609ukmvf.jpg"></a></li>
										<li><a href="http://www.taoertao.com/information-id-2474.html" title="2015秋冬装新款毛呢外套女韩版修身显瘦中长款加厚超长呢子大" target="_blank"><img src="http://www.taoertao.com/attachment/information/201601/pre_1452055736uuv4g.jpg"></a></li>
										<li><a href="http://www.taoertao.com/information-id-2472.html" title="秋冬内搭红色修身无袖连衣裙" target="_blank"><img src="http://www.taoertao.com/attachment/information/201601/pre_1452055190cqlyb.jpg"></a></li>
										<li><a href="http://www.taoertao.com/information-id-2471.html" title="精仿苹果6SPlus 真指纹 八核支持iphoneQQ在线" target="_blank"><img src="http://www.taoertao.com/attachment/information/201601/pre_14520444982j8ji.png"></a></li>
					                </ul>
            </div>
            <div class="ershouInfo fr">
            	<ul>
                    					<li>[手机/数码产品] <a href="http://www.taoertao.com/information-id-2509.html" target="_blank">转让自用苹果6S</a> 02-12</li>
										<li>[手机/数码产品] <a href="http://www.taoertao.com/information-id-2506.html" target="_blank">出售iPhone手机</a> 02-12</li>
										<li>[手机/数码产品] <a href="http://www.taoertao.com/information-id-2505.html" target="_blank">女生自用的iPhone6 需要的可以联系</a> 02-10</li>
										<li>[二手笔记本] <a href="http://www.taoertao.com/information-id-2497.html" target="_blank">惠普电脑</a> 02-09</li>
										<li>[服饰/箱包/鞋帽] <a href="http://www.taoertao.com/information-id-2492.html" target="_blank">全新棉衣</a> 02-02</li>
										<li>[服饰/箱包/鞋帽] <a href="http://www.taoertao.com/information-id-2490.html" target="_blank">全新皮衣低价出售,45元</a> 01-07</li>
										<li>[服饰/箱包/鞋帽] <a href="http://www.taoertao.com/information-id-2487.html" target="_blank">缺钱中，全新aj1 伯爵挥泪甩卖</a> 01-07</li>
										<li>[手机/数码产品] <a href="http://www.taoertao.com/information-id-2481.html" target="_blank">iphone6s 4.7 土豪金16g</a> 01-06</li>
										<li>[手机/数码产品] <a href="http://www.taoertao.com/information-id-2478.html" target="_blank">全新土豪金64G版苹果6s未使用低价</a> 01-06</li>
										<li>[服饰/箱包/鞋帽] <a href="http://www.taoertao.com/information-id-2474.html" target="_blank">2015秋冬装新款毛呢外套女韩版修身</a> 01-06</li>
										<li>[服饰/箱包/鞋帽] <a href="http://www.taoertao.com/information-id-2473.html" target="_blank">欧美秋季银灰色浅口真皮女鞋方头粗</a> 01-06</li>
										<li>[服饰/箱包/鞋帽] <a href="http://www.taoertao.com/information-id-2472.html" target="_blank">秋冬内搭红色修身无袖连衣裙</a> 01-06</li>
					            	</ul>
            </div>
        </div>
        <div class="cheliang">
        	<div class="classTit"><span class="fl"><i class="iconfont"></i> 车辆交易</span><span class="fr"><a href="http://www.taoertao.com/category-catid-252.html" target="_blank">更多&gt;</a></span></div>
            <div id="scrollImg">
                <span id="prev" style="display: none;"><i class="iconfont"></i></span>
                <span id="next" style="display: none;"><i class="iconfont"></i></span>
                <div id="box" style="visibility: visible; overflow: hidden; position: relative; z-index: 2; left: 0px; width: 996px;">
                    <ul style="margin: 0px; padding: 0px; position: relative; list-style-type: none; z-index: 1; width: 2988px; left: -1826px;"><li style="overflow: hidden; float: left; width: 150px; height: 167px;"><a href="http://www.taoertao.com/information-id-2299.html" target="_blank" title="低价出售本田DIOZ4"><img src="http://www.taoertao.com/attachment/information/201511/pre_1446775620wmxnq.jpg" alt="低价出售本田DIOZ4">低价出售本田DIOZ4</a></li><li style="overflow: hidden; float: left; width: 150px; height: 167px;"><a href="http://www.taoertao.com/information-id-2076.html" target="_blank" title="白色迅鹰踏板车，大四毕业狗的爱车，求领养"><img src="http://www.taoertao.com/attachment/information/201504/pre_1428578438tpwrk.jpg" alt="白色迅鹰踏板车，大四毕业狗的爱车，求领养">白色迅鹰踏板车，大四毕业狗的爱车，求领养</a></li><li style="overflow: hidden; float: left; width: 150px; height: 167px;"><a href="http://www.taoertao.com/information-id-2074.html" target="_blank" title="大四狗转让助力车"><img src="http://www.taoertao.com/attachment/information/201411/pre_1415591744fift0.jpg" alt="大四狗转让助力车">大四狗转让助力车</a></li><li style="overflow: hidden; float: left; width: 150px; height: 167px;"><a href="http://www.taoertao.com/information-id-56.html" target="_blank" title="二手自行车"><img src="http://www.taoertao.com/attachment/information/201409/pre_14102530686rkwy.jpg" alt="二手自行车">二手自行车</a></li><li style="overflow: hidden; float: left; width: 150px; height: 167px;"><a href="http://www.taoertao.com/information-id-28.html" target="_blank" title="95新，买来骑了15次左右"><img src="http://www.taoertao.com/attachment/information/201408/pre_1408537149d8dfi.jpg" alt="95新，买来骑了15次左右">95新，买来骑了15次左右</a></li><li style="overflow: hidden; float: left; width: 150px; height: 167px;"><a href="http://www.taoertao.com/information-id-27.html" target="_blank" title="低价转让漂亮自行车"><img src="http://www.taoertao.com/attachment/information/201408/pre_1408536882yd8ms.jpg" alt="低价转让漂亮自行车">低价转让漂亮自行车</a></li>
                                                <li style="overflow: hidden; float: left; width: 150px; height: 167px;"><a href="http://www.taoertao.com/information-id-2299.html" target="_blank" title="低价出售本田DIOZ4"><img src="http://www.taoertao.com/attachment/information/201511/pre_1446775620wmxnq.jpg" alt="低价出售本田DIOZ4">低价出售本田DIOZ4</a></li>
                                                <li style="overflow: hidden; float: left; width: 150px; height: 167px;"><a href="http://www.taoertao.com/information-id-2076.html" target="_blank" title="白色迅鹰踏板车，大四毕业狗的爱车，求领养"><img src="http://www.taoertao.com/attachment/information/201504/pre_1428578438tpwrk.jpg" alt="白色迅鹰踏板车，大四毕业狗的爱车，求领养">白色迅鹰踏板车，大四毕业狗的爱车，求领养</a></li>
                                                <li style="overflow: hidden; float: left; width: 150px; height: 167px;"><a href="http://www.taoertao.com/information-id-2074.html" target="_blank" title="大四狗转让助力车"><img src="http://www.taoertao.com/attachment/information/201411/pre_1415591744fift0.jpg" alt="大四狗转让助力车">大四狗转让助力车</a></li>
                                                <li style="overflow: hidden; float: left; width: 150px; height: 167px;"><a href="http://www.taoertao.com/information-id-56.html" target="_blank" title="二手自行车"><img src="http://www.taoertao.com/attachment/information/201409/pre_14102530686rkwy.jpg" alt="二手自行车">二手自行车</a></li>
                                                <li style="overflow: hidden; float: left; width: 150px; height: 167px;"><a href="http://www.taoertao.com/information-id-28.html" target="_blank" title="95新，买来骑了15次左右"><img src="http://www.taoertao.com/attachment/information/201408/pre_1408537149d8dfi.jpg" alt="95新，买来骑了15次左右">95新，买来骑了15次左右</a></li>
                                                <li style="overflow: hidden; float: left; width: 150px; height: 167px;"><a href="http://www.taoertao.com/information-id-27.html" target="_blank" title="低价转让漂亮自行车"><img src="http://www.taoertao.com/attachment/information/201408/pre_1408536882yd8ms.jpg" alt="低价转让漂亮自行车">低价转让漂亮自行车</a></li>
                                            <li style="overflow: hidden; float: left; width: 150px; height: 167px;"><a href="http://www.taoertao.com/information-id-2299.html" target="_blank" title="低价出售本田DIOZ4"><img src="http://www.taoertao.com/attachment/information/201511/pre_1446775620wmxnq.jpg" alt="低价出售本田DIOZ4">低价出售本田DIOZ4</a></li><li style="overflow: hidden; float: left; width: 150px; height: 167px;"><a href="http://www.taoertao.com/information-id-2076.html" target="_blank" title="白色迅鹰踏板车，大四毕业狗的爱车，求领养"><img src="http://www.taoertao.com/attachment/information/201504/pre_1428578438tpwrk.jpg" alt="白色迅鹰踏板车，大四毕业狗的爱车，求领养">白色迅鹰踏板车，大四毕业狗的爱车，求领养</a></li><li style="overflow: hidden; float: left; width: 150px; height: 167px;"><a href="http://www.taoertao.com/information-id-2074.html" target="_blank" title="大四狗转让助力车"><img src="http://www.taoertao.com/attachment/information/201411/pre_1415591744fift0.jpg" alt="大四狗转让助力车">大四狗转让助力车</a></li><li style="overflow: hidden; float: left; width: 150px; height: 167px;"><a href="http://www.taoertao.com/information-id-56.html" target="_blank" title="二手自行车"><img src="http://www.taoertao.com/attachment/information/201409/pre_14102530686rkwy.jpg" alt="二手自行车">二手自行车</a></li><li style="overflow: hidden; float: left; width: 150px; height: 167px;"><a href="http://www.taoertao.com/information-id-28.html" target="_blank" title="95新，买来骑了15次左右"><img src="http://www.taoertao.com/attachment/information/201408/pre_1408537149d8dfi.jpg" alt="95新，买来骑了15次左右">95新，买来骑了15次左右</a></li><li style="overflow: hidden; float: left; width: 150px; height: 167px;"><a href="http://www.taoertao.com/information-id-27.html" target="_blank" title="低价转让漂亮自行车"><img src="http://www.taoertao.com/attachment/information/201408/pre_1408536882yd8ms.jpg" alt="低价转让漂亮自行车">低价转让漂亮自行车</a></li></ul>
                </div>
            </div> 
        </div>
        <div class="book">
        	<div class="classTit"><span class="fl"><i class="iconfont"></i> 书籍资料</span><span class="fr"><a href="http://www.taoertao.com/category-catid-167.html">更多&gt;</a></span></div>
            <ul>
                    					<li>· 　<a href="http://www.taoertao.com/information-id-2486.html" target="_blank">listen to this:英语中级听力</a></li>
										<li>· 　<a href="http://www.taoertao.com/information-id-2485.html" target="_blank">英语泛读教程4 第三版</a></li>
										<li>· 　<a href="http://www.taoertao.com/information-id-2484.html" target="_blank">大学英文写作一二三四册</a></li>
										<li>· 　<a href="http://www.taoertao.com/information-id-2380.html" target="_blank">英语三级口译综合能力教材 英语三级口译综合能力教材配套训练 </a></li>
										<li>· 　<a href="http://www.taoertao.com/information-id-2359.html" target="_blank">公务员复习资料</a></li>
										<li>· 　<a href="http://www.taoertao.com/information-id-2296.html" target="_blank">平狄克的微观宏观两本有人要吗？考研用的</a></li>
										<li>· 　<a href="http://www.taoertao.com/information-id-2281.html" target="_blank">司法，医学，考研，建筑等一系列考试用书</a></li>
										<li>· 　<a href="http://www.taoertao.com/information-id-2257.html" target="_blank">急转三本2015年法律硕士联考教材，只写了名字，正版</a></li>
										<li>· 　<a href="http://www.taoertao.com/information-id-2255.html" target="_blank">长沙新东方雅思6.5分班（23人）课程低价出售</a></li>
										<li>· 　<a href="http://www.taoertao.com/information-id-2117.html" target="_blank">戴伟互动口语150次次卡8成新【低价转】</a></li>
										<li>· 　<a href="http://www.taoertao.com/information-id-51.html" target="_blank">弗洛伊德的心理哲学</a></li>
										<li>· 　<a href="http://www.taoertao.com/information-id-32.html" target="_blank">2014年6月的四级复习资料转卖，差不多全新</a></li>
										<li>· 　<a href="http://www.taoertao.com/information-id-31.html" target="_blank">韩国漫画、血型书 1、2两季，全新转让</a></li>
										<li>· 　<a href="http://www.taoertao.com/information-id-20.html" target="_blank">千禧年系列三部曲——《玩火的女孩》</a></li>
										<li>· 　<a href="http://www.taoertao.com/information-id-19.html" target="_blank">席慕蓉的《白垩纪》速来围观~~</a></li>
										<li>· 　<a href="http://www.taoertao.com/information-id-18.html" target="_blank">书籍《奥斯特校园手记》</a></li>
					            </ul>
        </div>
        <div class="digital">
        	<div class="classTit"><span class="fl"><i class="iconfont"></i> 数码产品</span><span class="fr"><a href="http://www.taoertao.com/category-catid-162.html">更多&gt;</a></span></div>
            <ul>
                    					<li>· 　<a href="http://www.taoertao.com/information-id-2509.html" target="_blank">转让自用苹果6S</a></li>
				    					<li>· 　<a href="http://www.taoertao.com/information-id-2506.html" target="_blank">出售iPhone手机</a></li>
				    					<li>· 　<a href="http://www.taoertao.com/information-id-2505.html" target="_blank">女生自用的iPhone6 需要的可以联系我</a></li>
				    					<li>· 　<a href="http://www.taoertao.com/information-id-2481.html" target="_blank">iphone6s 4.7 土豪金16g</a></li>
				    					<li>· 　<a href="http://www.taoertao.com/information-id-2478.html" target="_blank">全新土豪金64G版苹果6s未使用低价转给有缘人</a></li>
				    					<li>· 　<a href="http://www.taoertao.com/information-id-2471.html" target="_blank">精仿苹果6SPlus 真指纹 八核支持iphoneQQ在线</a></li>
				    					<li>· 　<a href="http://www.taoertao.com/information-id-2456.html" target="_blank">个人转让苹果6S玫瑰金64G</a></li>
				    					<li>· 　<a href="http://www.taoertao.com/information-id-2455.html" target="_blank">1200低价急出小米note自用手机白色64G,双网通,有官</a></li>
				                </ul>
        </div>
        
    </div>
	</div>
	
	<div id="footer">
	<div class="infooter">
        <p align="center">Copyright&copy;2016 &nbsp; 猴子校园二手街 &nbsp; wenjuanhenxing</p>
    </div>
    
    <div id="go-top" style="display: block;">
	<a class="go"></a>
	</div>
	</div>
    
    <script type="text/javascript" src="<%=basePath%>/js/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" src="<%=basePath%>/js/index.js"></script>
  </body>
</html>
